package com.wanxi.dao;

import com.wanxi.model.Manager;

import java.util.List;

public interface ManagerDao {
    Manager findManagerByManagerNameAndPassword(Manager manager);

    List<Manager> findAllManager();

    Manager findManagerById(Manager manager);

    int addManager(Manager manager);

    Manager findManagerByName(Manager manager);

    Manager findManagerByIdAndPssword(Manager manager);

    int updatePassword(Manager manager);

    int deleteManager(Manager manager);

    int updateById(Manager manager);

    int updateEnable(Manager manager);

    List<Manager> findSomeManager(Manager manager);
}
